/*
 * @Description:
 * @Author: fhw
 * @Date: 2022-12-31 22:33:49
 */
import { defineComponent, PropType } from 'vue'
import Icon from '@ant-design/icons-vue'
const props = {
	fontSize: {
		type: Number as PropType<number>,
		default: 26,
	},
	active: {
		type: Boolean as PropType<boolean>,
		default: false,
	},
} as const
export default defineComponent({
	props,
	setup(props) {
		return () => (
			<Icon
				component={() =>
					props.active ? (
						<svg
							class="icon"
							viewBox="0 0 1024 1024"
							version="1.1"
							xmlns="http://www.w3.org/2000/svg"
							p-id="31617"
							width={props.fontSize}
							height={props.fontSize}
						>
							<path
								d="M976.213333 420.977778c-2.275556-18.204444-13.653333-34.133333-34.133333-38.684445h-2.275556c-40.96-9.102222-70.542222-31.857778-93.297777-70.542222-20.48-34.133333-27.306667-77.368889-13.653334-116.053333 6.826667-15.928889 2.275556-36.408889-13.653333-50.062222-43.235556-40.96-95.573333-72.817778-154.737778-93.297778-15.928889-6.826667-34.133333-2.275556-50.062222 13.653333C589.368889 97.848889 550.684444 113.777778 507.448889 113.777778c-38.684444 0-75.093333-18.204444-106.951111-50.062222-18.204444-18.204444-36.408889-15.928889-50.062222-11.377778-59.164444 25.031111-109.226667 54.613333-152.462223 91.022222-15.928889 11.377778-22.755556 31.857778-15.928889 50.062222 11.377778 43.235556 6.826667 84.195556-13.653333 120.604445-18.204444 31.857778-52.337778 56.888889-93.297778 68.266666-2.275556 0-2.275556 0-4.551111 2.275556-13.653333 6.826667-22.755556 18.204444-29.582222 34.133333v2.275556c-6.826667 34.133333-9.102222 63.715556-9.102222 93.297778 0 29.582222 2.275556 63.715556 9.102222 91.022222 2.275556 18.204444 13.653333 34.133333 34.133333 38.684444h2.275556c40.96 9.102222 70.542222 31.857778 93.297778 70.542222 20.48 34.133333 27.306667 77.368889 13.653333 116.053334-6.826667 15.928889-2.275556 36.408889 13.653333 50.062222 43.235556 40.96 95.573333 72.817778 157.013334 93.297778 2.275556 0 4.551111 2.275556 9.102222 2.275555h6.826667c11.377778 0 25.031111-4.551111 36.408888-15.928889 25.031111-29.582222 63.715556-47.786667 106.951112-47.786666 38.684444 0 75.093333 18.204444 106.951111 50.062222 9.102222 9.102222 20.48 15.928889 31.857777 15.928889 4.551111 0 11.377778 0 15.928889-2.275556 59.164444-25.031111 109.226667-54.613333 152.462223-91.022222 15.928889-9.102222 22.755556-31.857778 15.928888-50.062222-11.377778-43.235556-6.826667-84.195556 13.653334-120.604445 18.204444-31.857778 52.337778-56.888889 93.297778-68.266666 2.275556 0 2.275556 0 4.551111-2.275556 13.653333-6.826667 22.755556-18.204444 29.582222-34.133333v-2.275556c6.826667-34.133333 9.102222-63.715556 9.102222-93.297777-2.275556-31.857778-4.551111-63.715556-11.377778-93.297778z m-468.764444 250.311111c-88.746667 0-159.288889-70.542222-159.288889-159.288889s70.542222-159.288889 159.288889-159.288889 159.288889 70.542222 159.288889 159.288889-70.542222 159.288889-159.288889 159.288889z"
								fill="#07C160"
								p-id="31618"
							></path>
						</svg>
					) : (
						<svg
							class="icon"
							viewBox="0 0 1024 1024"
							version="1.1"
							xmlns="http://www.w3.org/2000/svg"
							p-id="25733"
							width={props.fontSize}
							height={props.fontSize}
						>
							<path
								d="M512 697.6c102.4 0 182.4-83.2 182.4-185.6 0-102.4-83.2-185.6-182.4-185.6-102.4 0-182.4 83.2-182.4 185.6C329.6 614.4 412.8 697.6 512 697.6L512 697.6zM512 646.4c-73.6 0-134.4-60.8-134.4-134.4 0-73.6 60.8-134.4 134.4-134.4 73.6 0 134.4 60.8 134.4 134.4C646.4 585.6 585.6 646.4 512 646.4L512 646.4z"
								p-id="25734"
								fill="#ffffff"
							></path>
							<path
								d="M249.015232 843.178592c35.2 28.8 73.6 51.2 112 67.2 41.6-38.4 96-60.8 150.4-60.8 57.6 0 108.8 22.4 150.4 60.8 41.6-16 80-38.4 112-67.2-12.8-54.4-3.2-112 22.4-163.2 28.8-48 73.6-86.4 128-102.4 3.2-22.4 6.4-44.8 6.4-67.2 0-22.4-3.2-44.8-6.4-67.2-54.4-16-99.2-54.4-128-102.4-28.8-48-35.2-108.8-22.4-163.2-35.2-28.8-73.6-51.2-112-67.2-41.6 38.4-92.8 60.8-150.4 60.8-54.4 0-108.8-22.4-150.4-60.8-41.6 16-80 38.4-112 67.2 12.8 54.4 3.2 112-22.4 163.2-28.8 48-73.6 86.4-128 102.4-3.2 22.4-6.4 44.8-6.4 67.2 0 22.4 3.2 44.8 6.4 67.2 54.4 16 99.2 54.4 128 102.4C252.215232 731.178592 261.815232 788.778592 249.015232 843.178592M361.015232 958.378592c-54.4-19.2-105.6-48-150.4-89.6-6.4-6.4-9.6-16-6.4-22.4 16-48 9.6-99.2-16-140.8-25.6-44.8-64-73.6-112-83.2-9.6-3.2-16-9.6-16-19.2-6.4-28.8-9.6-60.8-9.6-89.6 0-28.8 3.2-57.6 9.6-89.6 3.2-9.6 9.6-16 16-19.2 48-12.8 89.6-41.6 112-83.2 25.6-44.8 28.8-92.8 16-140.8-3.2-9.6 0-19.2 6.4-22.4 44.8-38.4 96-67.2 150.4-89.6 9.6-3.2 16 0 22.4 6.4 35.2 35.2 80 57.6 128 57.6 48 0 96-19.2 128-57.6 6.4-6.4 16-9.6 22.4-6.4 54.4 19.2 105.6 48 150.4 89.6 6.4 6.4 9.6 16 6.4 22.4-16 48-9.6 99.2 16 140.8 25.6 44.8 64 73.6 112 83.2 9.6 3.2 16 9.6 16 19.2 6.4 28.8 9.6 60.8 9.6 89.6 0 28.8-3.2 57.6-9.6 89.6-3.2 9.6-9.6 16-16 19.2-48 12.8-89.6 41.6-112 83.2-25.6 44.8-28.8 92.8-16 140.8 3.2 9.6 0 19.2-6.4 22.4-44.8 38.4-96 67.2-150.4 89.6-9.6 3.2-16 0-22.4-6.4-35.2-35.2-80-57.6-128-57.6-48 0-96 19.2-128 57.6-3.2 3.2-9.6 6.4-16 6.4C364.215232 958.378592 361.015232 958.378592 361.015232 958.378592z"
								p-id="25735"
								fill="#ffffff"
							></path>
						</svg>
					)
				}
			/>
		)
	},
})
